package com.lbj.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lbj.mall.common.utils.PageUtils;
import com.lbj.mall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author libingjun
 * @email 617416791@qq.com
 * @date 2022-03-27 10:44:54
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> queryById(Long brandId);

    void updateBrandName(Long brandId, String name);

    void updateCategoryName(Long catId, String name);

    List<CategoryBrandRelationEntity> getBrandListFromCategoryId(String categoryId);
}

